package manager;

import entities.User;
import java.util.ArrayList;

public class AdminSysDriver {

    private DataManager dataManager;

    public AdminSysDriver(DataManager dataManager) {
        this.dataManager = dataManager;
    }

    public ArrayList<User> showUser() {
        return dataManager.showUser();
    }
    
    public boolean setLogin(int uid, String pass, int status) {
        return dataManager.setLogin(uid, pass, status);
    }
}
